package com.ruoyi.biz.letter.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 信访认领对象 biz_letter_claim
 *
 * @author Fei.Cong
 * @date 2024-07-22
 */
@TableName(value = "biz_letter_claim")
public class BizLetterClaim extends CategoryBase {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 信访表id
     */
    @Excel(name = "信访表id")
    private Long letterId;

    /**
     * 信件编号
     */
    @Excel(name = "信件编号")
    private String letterNumber;

    /**
     * 是否有理,1-有理，2-无理，3-部分有理
     */
    @Excel(name = "是否有理,1-有理，2-无理，3-部分有理")
    private String isReasonable;

    /**
     * 是否化解,1-是，0-否
     */
    @Excel(name = "是否化解,1-是，0-否")
    private String isSolve;

    /**
     * 是否办结,1-是，0-否
     */
    @Excel(name = "是否办结,1-是，0-否")
    private String isFinish;

    /**
     * 信访备注
     */
    @Excel(name = "信访备注")
    private String letterRemark;

    /**
     * 认领者
     */
    @Excel(name = "认领者")
    private String claimBy;

    /**
     * 认领时间
     */
    private Date claimTime;

    /**
     * 部门id
     */
    @Excel(name = "部门id")
    private Long deptId;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setLetterId(Long letterId) {
        this.letterId = letterId;
    }

    public Long getLetterId() {
        return letterId;
    }

    public void setLetterNumber(String letterNumber) {
        this.letterNumber = letterNumber;
    }

    public String getLetterNumber() {
        return letterNumber;
    }

    public void setIsReasonable(String isReasonable) {
        this.isReasonable = isReasonable;
    }

    public String getIsReasonable() {
        return isReasonable;
    }

    public void setIsSolve(String isSolve) {
        this.isSolve = isSolve;
    }

    public String getIsSolve() {
        return isSolve;
    }

    public void setIsFinish(String isFinish) {
        this.isFinish = isFinish;
    }

    public String getIsFinish() {
        return isFinish;
    }

    public void setLetterRemark(String letterRemark) {
        this.letterRemark = letterRemark;
    }

    public String getLetterRemark() {
        return letterRemark;
    }

    public void setClaimBy(String claimBy) {
        this.claimBy = claimBy;
    }

    public String getClaimBy() {
        return claimBy;
    }

    public void setClaimTime(Date claimTime) {
        this.claimTime = claimTime;
    }

    public Date getClaimTime() {
        return claimTime;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("letterId", getLetterId())
                .append("letterNumber", getLetterNumber())
                .append("isReasonable", getIsReasonable())
                .append("isSolve", getIsSolve())
                .append("isFinish", getIsFinish())
                .append("letterRemark", getLetterRemark())
                .append("claimBy", getClaimBy())
                .append("claimTime", getClaimTime())
                .append("deptId", getDeptId())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
